@extends('web.master')
@section('title','套餐列表')
    @section('head')
        <link rel="stylesheet" href="{{asset('statics/css/index.css')}}" />
        @endsection
@section('content')
    <body class="bgBlue">
    <div class="package">

@if(count($combos)>0)
    @foreach($combos as $k=>$combo)
        <!--卡片-->
        <div class="card">
            <div class="cardBox">
                <h2>{{$combo->title}}</h2>
                <a href="{{route('combo_detail',['id'=>$combo->id])}}">
                <div class="pic">

                   <div class="img" style="	padding-top: 40%;
	background: url({{asset('storage/'.$combo->thumb)}}) no-repeat center;
	background-size: cover;"></div>

            {{--        <img src="{{asset('storage/'.$combo->thumb)}}">--}}
                </div>
                </a>
                <div class="orange">
                    <b><span>￥</span>{{$combo->activity_price}}</b>

                </div>
                <div class="price">
                    ¥{{$combo->price}}   {{$combo->times}}景点
                </div>
                <div class="autoplay">
                    <a href="{{route('combo_detail',['id'=>$combo->id])}}">
                    <img src="{{asset('statics/images/shoping.png')}}" class="shop"/>
                    </a>
                </div>
            </div>
        </div>
        @endforeach
    @else
        <div class="null">
            <img src="{{asset('statics/images/null.png')}}" />
        </div>
        <!--end-->
        @endif
    </div>
    </body>
    @endsection